package com.woniuxy.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 属性相关
 * </p>
 *
 * @author zcx,ftl,gr,rhs
 * @since 2021-12-31
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("goods_attribute")
@ApiModel(value="GoodsAttribute对象", description="属性相关")
public class GoodsAttribute implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "属性编号")
    @TableField("goods_attribute_id")
    private Integer goodsAttributeId;

    @ApiModelProperty(value = "商品序号")
    @TableField("goods_id")
    private Integer goodsId;

    @ApiModelProperty(value = "属性值")
    @TableField("goods_num")
    private String goodsNum;


}
